package com.eelpo.framework.socket.listener;

import com.eelpo.framework.socket.session.SocketSession;
import com.eelpo.framework.socket.session.SocketSessionGroup;

/**
 * Socket 会话监听器
 * 
 * @author <a href="mailto:whz-work@163.com">汪洪州</a>
 * 
 * @since 1.0 Create on May 30, 2012
 */
public interface SocketSessionListener {

	public void addSession(SocketSession socketSession);

	public void removeSession(SocketSession socketSession);

	public void addSessionGroup(SocketSessionGroup socketSessionGroup);

	public void joinSessionGroup(SocketSession socketSession, SocketSessionGroup socketSessionGroup);

	public void leaveSessionGroup(SocketSession socketSession, SocketSessionGroup socketSessionGroup);

}
